﻿using System;
using System.Collections.Generic;
using WebApiV1.Date.Entity;
using WebApiV1.Domain.Enum;


namespace WebApiV1.Inteface.Log
{
    public interface ILog
    {
        Logs GetLogById(int id);
        void Insert(Logs log);
        void Delete(Logs log);
        void Insert(WebApiV1.Date.Entity.Logs item);

       
        // 根据时间查询
       
        IEnumerable<Logs> MultiQuery(DateTime beginTime, DateTime endTime, LogsLevel logsLevel, int usersId = 0);

       
        // 清除日志
       
        void Clear();
    }
}
